package com.supermap.shiro.common;

/**
 * @author xiaolu
 * @date 2018/7/23 下午3:31
 */
public class ResponseData {
    /**
     * 是否成功
     */
    private boolean isSuccess = true;

    /**
     * 提示信息
     */
    private String msg = "操作成功";

    /**
     * 返回的数据
     */
    private Object data = null;

    /**
     * 失败：100，成功：200
     */
    private Integer code = 200;

    public ResponseData() {
    }

    public boolean isSuccess() {
        return isSuccess;
    }

    public void setSuccess(boolean success) {
        isSuccess = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
